
<script setup>
import { reactive } from "vue";
const person = reactive({
  name: "张三",
  age: 18,
  sex: "男",
});


const ChannelMergerNode = () => {
  person.name = "李四";
  person.age = 20;
  person.sex = "女";
};
</script>
<template>
  <div>
    {{ person }}
    <button @click="ChannelMergerNode">修改</button>
  </div>
</template>
<style scoped>
</style>

